package com.zlll.winner.business.service.lhtUser;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zlll.winner.business.model.lhtUser.LhtUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author qsx
 * @since 2019-09-05
 */
public interface ILhtUserService extends IService<LhtUser> {

    LhtUser getLhtUser(String phone);

    LhtUser register(LhtUser lhtUser);

    Boolean validateUserPassword(LhtUser user,String password);

    void changePassword(LhtUser user,String newPassWord);

    IPage<LhtUser> getLhtUser(String phone ,String nickname,Long identityId,Integer pageNo,Integer pageSize);

    Boolean updateLhtUserIdentity(Long userId,String identityIds);

    Long addUser(LhtUser user, Long[] identityIds, String name);
}
